/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Hoja07;

import org.junit.*;
import static org.junit.Assert.*;

/**
 *
 * @author carlossagastume
 */
public class NodoTest {
    
    public NodoTest() {
    }

    @BeforeClass
    public static void setUpClass() throws Exception {
    }

    @AfterClass
    public static void tearDownClass() throws Exception {
    }
    
    @Before
    public void setUp() {
    }
    
    @After
    public void tearDown() {
    }

    /**
     * Test of getRepet method, of class Nodo.
     */
    @Test
    public void testGetRepet() {
        System.out.println("getRepet");
        Nodo instance = new Nodo();
        int expResult = 0;
        int result = instance.getRepet();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
 //       fail("The test case is a prototype.");
    }

    /**
     * Test of setRepet method, of class Nodo.
     */
    @Test
    public void testSetRepet() {
        System.out.println("setRepet");
        int preval = 0;
        Nodo instance = new Nodo();
        instance.setRepet(preval);
        // TODO review the generated test code and remove the default call to fail.
 //       fail("The test case is a prototype.");
    }

    /**
     * Test of incRepet method, of class Nodo.
     */
    @Test
    public void testIncRepet() {
        System.out.println("incRepet");
        Nodo instance = new Nodo();
        instance.incRepet();
        // TODO review the generated test code and remove the default call to fail.
//        fail("The test case is a prototype.");
    }

    /**
     * Test of getDato method, of class Nodo.
     */
    @Test
    public void testGetDato() {
        System.out.println("getDato");
        Nodo instance = new Nodo();
        Object expResult = null;
        Object result = instance.getDato();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
//        fail("The test case is a prototype.");
    }

    /**
     * Test of setDato method, of class Nodo.
     */
    @Test
    public void testSetDato() {
        System.out.println("setDato");
        Object dato = null;
        Nodo instance = new Nodo();
        instance.setDato(dato);
        // TODO review the generated test code and remove the default call to fail.
//        fail("The test case is a prototype.");
    }

    /**
     * Test of getLeft method, of class Nodo.
     */
    @Test
    public void testGetLeft() {
        System.out.println("getLeft");
        Nodo instance = new Nodo();
        Nodo expResult = null;
        Nodo result = instance.getLeft();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
 //       fail("The test case is a prototype.");
    }

    /**
     * Test of setLeft method, of class Nodo.
     */
    @Test
    public void testSetLeft() {
        System.out.println("setLeft");
        Nodo izq = null;
        Nodo instance = new Nodo();
        instance.setLeft(izq);
        // TODO review the generated test code and remove the default call to fail.
 //       fail("The test case is a prototype.");
    }

    /**
     * Test of getRigth method, of class Nodo.
     */
    @Test
    public void testGetRigth() {
        System.out.println("getRigth");
        Nodo instance = new Nodo();
        Nodo expResult = null;
        Nodo result = instance.getRigth();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
//        fail("The test case is a prototype.");
    }

    /**
     * Test of setRigth method, of class Nodo.
     */
    @Test
    public void testSetRigth() {
        System.out.println("setRigth");
        Nodo der = null;
        Nodo instance = new Nodo();
        instance.setRigth(der);
        // TODO review the generated test code and remove the default call to fail.
  //      fail("The test case is a prototype.");
    }

    /**
     * Test of getCode method, of class Nodo.
     */
    @Test
    public void testGetCode() {
        System.out.println("getCode");
        Nodo instance = new Nodo();
        String expResult = "";
        String result = instance.getCode();
 //       assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
//        fail("The test case is a prototype.");
    }

    /**
     * Test of toString method, of class Nodo.
     */
    @Test
    public void testToString() {
        System.out.println("toString");
        Nodo instance = new Nodo();
        String expResult = "";
        String result = instance.toString();
//        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
  //      fail("The test case is a prototype.");
    }

    /**
     * Test of route method, of class Nodo.
     */
    @Test
    public void testRoute_Nodo_String() {
        System.out.println("route");
        Nodo nodo = null;
        String codigo = "";
        Nodo instance = new Nodo();
        instance.route(nodo, codigo);
        // TODO review the generated test code and remove the default call to fail.
  //      fail("The test case is a prototype.");
    }

    /**
     * Test of route method, of class Nodo.
     */
    @Test
    public void testRoute_0args() {
        System.out.println("route");
        Nodo instance = new Nodo();
        instance.route();
        // TODO review the generated test code and remove the default call to fail.
 //       fail("The test case is a prototype.");
    }
}
